package com.suray.wcs.service.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.suray.wcs.service.system.entity.ProgrammeDB;

import java.util.List;

/**
 * @Description:库口配置服务接口
 * @author: rongbj
 * @date:2019年12月5日 下午7:54:34
 */
public interface IProgrammeService extends IService<ProgrammeDB> {

    List<ProgrammeDB> getProgrammes(Integer portType);

    List<ProgrammeDB> queryProgrammeConf(ProgrammeDB programmeDB);

    void insertProgrammeDB(ProgrammeDB programmeDB);

    void updateProgrammeDB(ProgrammeDB programmeDB);

    ProgrammeDB queryProgrammeDB(Integer portType, Integer programmeId);

    int updateProgrammeStatus(ProgrammeDB programmeDB);

    ProgrammeDB selectByProgrammeId(Long programmeId);

    List<ProgrammeDB> findByPortId(Integer portId);
}
